package com.hkts.management.cargo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.hkts.management.mybaitsplus.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hml
 * @since 2021-04-22
 */
@Data
@ApiModel(value = "HktsCargo",description = "货源")
public class HktsCargo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "货物名称")
    private String cargoName;

//    @ApiModelProperty(value = "装货开始时间")
//    private LocalDateTime loadingStartTime;
//    /**
//     * 装货结束时间
//     */
//    @ApiModelProperty(value = "装货结束时间")
//    private LocalDateTime loadingEndTime;
    /**
     * 运输价格
     */
    @ApiModelProperty(value = "运输价格")
    private BigDecimal transportPrice;
    /**
     * 发布时间
     */
    @ApiModelProperty(value = "发布时间")
    private LocalDateTime pushTime;
    /**
     * 剩余重量
     */
    @ApiModelProperty(value = "剩余重量")
    private BigDecimal cargoResidual;
    /**
     * 货物总量
     */
    @ApiModelProperty(value = "货物总量")
    private BigDecimal cargoTotal;
    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    private String cargoUnit;
    /**
     * 出发地省市区
     */
    @ApiModelProperty(value = "出发地省市区")
    private String startArea;
    /**
     * 出发地详细地址
     */
    @ApiModelProperty(value = "出发地详细地址")
    private String startAddressDetail;
    /**
     * 目的地省市区
     */
    @ApiModelProperty(value = "目的地省市区")
    private String endArea;
    /**
     * 目的地详细地址
     */
    @ApiModelProperty(value = "目的地详细地址")
    private String endAddressDetail;
    /**
     * 出发地经度
     */
    @ApiModelProperty(value = "出发地经度")
    private BigDecimal startLon;
    /**
     * 出发地纬度
     */
    @ApiModelProperty(value = "出发地纬度")
    private BigDecimal startLat;
    /**
     * 目的地经度
     */
    @ApiModelProperty(value = "目的地经度")
    private BigDecimal endLon;
    /**
     * 目的地纬度
     */
    @ApiModelProperty(value = "目的地纬度")
    private BigDecimal endLat;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;
    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名")
    private String username;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String telphone;
    /**
     *订单状态
     */
    @ApiModelProperty(value = "订单状态")
    private Integer cargoStatus;
    /**
     * 是否邮寄回单
     */
    @ApiModelProperty(value = "是否邮寄回单")
    private Integer isReceipt;
    /**
     *是否指定
     */
    @ApiModelProperty(value = "是否指定")
    private Integer appoint;
    /**
     * 公司code
     */
    @ApiModelProperty(value = "公司code")
    private String companyCode;
    @ApiModelProperty(value = "装货title")
    private String startTitle;
    @ApiModelProperty(value = "卸货title")
    private String endTitle;
    @ApiModelProperty(value = "货物类型")
    private String cargoType;
    @ApiModelProperty(value = "U8订单编号")
    private String ybOrderCode;
    @ApiModelProperty(value = "U8订单类型")
    private Integer orderType;
}
